﻿using System;

using SBPweb.PROvibe.Client.Framework.Contracts.Content;

namespace SBPweb.PROvibe.Client.Framework.Controls
{

    public abstract class SmartpartPage : SmartpartControl, IPage
    {

        #region Private fields

        private IContentManager contentManager;

        #endregion

        #region Constructor logic

        public SmartpartPage()
            : base(null)
        {
        }

        public SmartpartPage(IContentManager contentManager)
            : this(contentManager, null)
        {
        }

        public SmartpartPage(IContentManager contentManager, IPage parentPage)
            : base(parentPage)
        {
            this.contentManager = contentManager;
        }

        #endregion

        #region Property accessors

        public IContentManager ContentManager
        {
            get
            {
                return contentManager;
            }
        }

        #endregion

    }

}
